import React, { Component } from 'react';

import './good-cell.scss';

class GoodCell extends Component {

  render() {
    return (
      <div className="good-cell">
        <div className="good-img">
          <img src={this.props.good.img}/>
        </div>
        <div className="good-name">{this.props.good.name}</div>
        <div className="good-price">
          <span>￥</span>
          <span>{this.props.good.price}</span>
        </div>
      </div>
    );
  }

}

export default GoodCell;
